﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Display {

    public class QueuedIcon {

        public var code:String;
        public var name:String;
        public var priority:int;
        public var group:String;
        public var persists:Boolean;
        public var imageUrl:String;
        public var marketDest:String;
        public var hasPopup:Boolean;
        public var giftRedirect:Boolean;
        public var giftBox:Boolean;

        public function QueuedIcon(_arg1:XML){
            this.code = _arg1.@code.toString();
            this.name = _arg1.@name.toString();
            this.priority = parseInt(_arg1.priority.toString());
            this.group = _arg1.group.toString();
            this.persists = !((parseInt(_arg1.persists.toString()) == 0));
            this.imageUrl = _arg1.image.@url.toString();
            this.marketDest = _arg1.marketDest.toString();
            this.hasPopup = !((parseInt(_arg1.hasPopup.toString()) == 0));
            this.giftRedirect = !((parseInt(_arg1.sendToGiftPage.toString()) == 0));
            this.giftBox = !((parseInt(_arg1.showGiftBox.toString()) == 0));
        }
    }
}//package Display 
